How to add quotes in visual basic? [on hold]
Posted
by
Poistenec
on Super User
See other posts from Super User
or by Poistenec
Published on 2013-06-30T14:30:49Z
Indexed on
2013/06/30
16:23 UTC
Read the original article
Hit count: 177
I'd like to ask how is it possible to add quotes in VB. I'm trying to run command which contains quotes.. example:
Shell("cmd.exe") SendKeys.Send("cd "c:\users\abc def" ") <<<<--- this line SendKeys.Send("{ENTER}")
there is an syntax error. the problem is that I need to add quotes to some commands as there is a space in folderpath.
As a beginner in VB I'm not really sure how to describe the poblem correctly so I hope you can see the it in my example :/
Thank you all in advance
© Super User or respective owner